package com.hry.store.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class ProductVersion {
    /** 主键id */
    private Integer versionId;

    /** 二级分类id */
    private Integer secondCategoryId;

    /** 产品id */
    private Integer productId;

    /** 版本名称 */
    private String versionName;

    /** 产品价格 */
    private BigDecimal versionPrice;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public ProductVersion(Integer versionId, Integer secondCategoryId, Integer productId, String versionName, BigDecimal versionPrice, Date createTime, Date updateTime) {
        this.versionId = versionId;
        this.secondCategoryId = secondCategoryId;
        this.productId = productId;
        this.versionName = versionName;
        this.versionPrice = versionPrice;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public ProductVersion() {
        super();
    }

    public Integer getVersionId() {
        return versionId;
    }

    public void setVersionId(Integer versionId) {
        this.versionId = versionId;
    }

    public Integer getSecondCategoryId() {
        return secondCategoryId;
    }

    public void setSecondCategoryId(Integer secondCategoryId) {
        this.secondCategoryId = secondCategoryId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName == null ? null : versionName.trim();
    }

    public BigDecimal getVersionPrice() {
        return versionPrice;
    }

    public void setVersionPrice(BigDecimal versionPrice) {
        this.versionPrice = versionPrice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}